package com.eshop.modules.order.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;

@ApiModel(value = "YxStoreOrderStatusQueryVo对象", description = "订单操作记录表查询参数")
public class StoreOrderStatusQueryVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    private Integer id;
    @ApiModelProperty("订单id")
    private Integer oid;
    @ApiModelProperty("操作类型")
    private String changeType;
    @ApiModelProperty("操作备注")
    private String changeMessage;
    @ApiModelProperty("操作时间")
    private Integer changeTime;
    
    public Integer getId() {
        return this.id;
    }
    
    public Integer getOid() {
        return this.oid;
    }
    
    public String getChangeType() {
        return this.changeType;
    }
    
    public String getChangeMessage() {
        return this.changeMessage;
    }
    
    public Integer getChangeTime() {
        return this.changeTime;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setOid(final Integer oid) {
        this.oid = oid;
    }
    
    public void setChangeType(final String changeType) {
        this.changeType = changeType;
    }
    
    public void setChangeMessage(final String changeMessage) {
        this.changeMessage = changeMessage;
    }
    
    public void setChangeTime(final Integer changeTime) {
        this.changeTime = changeTime;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreOrderStatusQueryVo)) {
            return false;
        }
        final StoreOrderStatusQueryVo other = (StoreOrderStatusQueryVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$oid = this.getOid();
        final Object other$oid = other.getOid();
        Label_0102: {
            if (this$oid == null) {
                if (other$oid == null) {
                    break Label_0102;
                }
            }
            else if (this$oid.equals(other$oid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$changeTime = this.getChangeTime();
        final Object other$changeTime = other.getChangeTime();
        Label_0139: {
            if (this$changeTime == null) {
                if (other$changeTime == null) {
                    break Label_0139;
                }
            }
            else if (this$changeTime.equals(other$changeTime)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$changeType = this.getChangeType();
        final Object other$changeType = other.getChangeType();
        Label_0176: {
            if (this$changeType == null) {
                if (other$changeType == null) {
                    break Label_0176;
                }
            }
            else if (this$changeType.equals(other$changeType)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$changeMessage = this.getChangeMessage();
        final Object other$changeMessage = other.getChangeMessage();
        if (this$changeMessage == null) {
            if (other$changeMessage == null) {
                return true;
            }
        }
        else if (this$changeMessage.equals(other$changeMessage)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreOrderStatusQueryVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $oid = this.getOid();
        result = result * 59 + (($oid == null) ? 43 : $oid.hashCode());
        final Object $changeTime = this.getChangeTime();
        result = result * 59 + (($changeTime == null) ? 43 : $changeTime.hashCode());
        final Object $changeType = this.getChangeType();
        result = result * 59 + (($changeType == null) ? 43 : $changeType.hashCode());
        final Object $changeMessage = this.getChangeMessage();
        result = result * 59 + (($changeMessage == null) ? 43 : $changeMessage.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreOrderStatusQueryVo(id=" + this.getId() + ", oid=" + this.getOid() + ", changeType=" + this.getChangeType() + ", changeMessage=" + this.getChangeMessage() + ", changeTime=" + this.getChangeTime() + ")";
    }
}
